<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateSLessonType extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('s_lesson_type', function (Blueprint $table) {
            $table->increments('id');

            $table->string('name')->comment("类型名称");
            $table->integer('times')->comment("时长，单位,分");
            $table->integer('ph_price')->comment("菲律宾外教收费,单位，分");
            $table->integer('ea_price')->comment("欧美外教收费,单位，分");
            $table->integer('status')->comment("上下架状态");
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
